package org.lmw.mm.dao;

import com.jfinal.plugin.activerecord.Model;
/**
 * 
 * 此类描述的是：   
 * @author: limengwei   
 * @version: 2014-6-5 上午11:48:07
 */
public class User extends Model<User> {
  private static final long serialVersionUID = 3863371652995973271L;
  public static final User dao=new User();
  
  public User findBynp(String phone,String pwd){
    return dao.findFirst("select id,phone,pwd from mm_user where phone=? and pwd=?",phone,pwd);
  }
  
}
